package com.wkbb.basic.mapper;

import com.wkbb.basic.model.UserFace;
import com.wkbb.common.base.BaseMapper;
import com.wkbb.common.dto.basic.UserDto;
import com.wkbb.common.dto.basic.UserFaceDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserFaceMapper extends BaseMapper<UserFace> {

    List<UserFaceDto> getUserFaceList(@Param("orgId") Long orgId, @Param("classIds") List<Long> classIds);

    List<UserFaceDto> getUserFaceImgByOrg(@Param("orgId") Long orgId);

    List<UserFaceDto> getUserFaceByMapParms(Map<String,Object> parms);

    UserDto getUserByOrgPerson(Map<String,Object> params);

    List<UserFace> getUserFaceAndFaceIdIsNull();

    List<UserFace> getUserFaceAndFaceIdNotIsNull(Map<String,Object> parms);

    List<UserFaceDto> getUserFaceListByUpdateTime(Map<String,Object> parms);

	void deleteFaceData(@Param("orgId") Long orgId);
}